package com.tas.test.pojo.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @Author kevin
 * @Date 2022-06-21 08:48
 * @Description
 */
@Document("simple_data")
public class SimpleData {
  /**
   * id
   */
  @Id
  private Long id;

  /**
   * 名称
   */
  private String name;

  /**
   * 内容
   */
  private String contents;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getContents() {
    return contents;
  }

  public void setContents(String contents) {
    this.contents = contents;
  }
}
